package com.quanyan.operative.db;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbOpRewardInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbOpRewardInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRwName0IsNull() {
            addCriterion("rw_name0 is null");
            return (Criteria) this;
        }

        public Criteria andRwName0IsNotNull() {
            addCriterion("rw_name0 is not null");
            return (Criteria) this;
        }

        public Criteria andRwName0EqualTo(String value) {
            addCriterion("rw_name0 =", value, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0NotEqualTo(String value) {
            addCriterion("rw_name0 <>", value, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0GreaterThan(String value) {
            addCriterion("rw_name0 >", value, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0GreaterThanOrEqualTo(String value) {
            addCriterion("rw_name0 >=", value, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0LessThan(String value) {
            addCriterion("rw_name0 <", value, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0LessThanOrEqualTo(String value) {
            addCriterion("rw_name0 <=", value, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0Like(String value) {
            addCriterion("rw_name0 like", value, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0NotLike(String value) {
            addCriterion("rw_name0 not like", value, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0In(List<String> values) {
            addCriterion("rw_name0 in", values, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0NotIn(List<String> values) {
            addCriterion("rw_name0 not in", values, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0Between(String value1, String value2) {
            addCriterion("rw_name0 between", value1, value2, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwName0NotBetween(String value1, String value2) {
            addCriterion("rw_name0 not between", value1, value2, "rwName0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0IsNull() {
            addCriterion("rw_cnt0 is null");
            return (Criteria) this;
        }

        public Criteria andRwCnt0IsNotNull() {
            addCriterion("rw_cnt0 is not null");
            return (Criteria) this;
        }

        public Criteria andRwCnt0EqualTo(Integer value) {
            addCriterion("rw_cnt0 =", value, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0NotEqualTo(Integer value) {
            addCriterion("rw_cnt0 <>", value, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0GreaterThan(Integer value) {
            addCriterion("rw_cnt0 >", value, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt0 >=", value, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0LessThan(Integer value) {
            addCriterion("rw_cnt0 <", value, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0LessThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt0 <=", value, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0In(List<Integer> values) {
            addCriterion("rw_cnt0 in", values, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0NotIn(List<Integer> values) {
            addCriterion("rw_cnt0 not in", values, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0Between(Integer value1, Integer value2) {
            addCriterion("rw_cnt0 between", value1, value2, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwCnt0NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_cnt0 not between", value1, value2, "rwCnt0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0IsNull() {
            addCriterion("rw_consumed0 is null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0IsNotNull() {
            addCriterion("rw_consumed0 is not null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0EqualTo(Integer value) {
            addCriterion("rw_consumed0 =", value, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0NotEqualTo(Integer value) {
            addCriterion("rw_consumed0 <>", value, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0GreaterThan(Integer value) {
            addCriterion("rw_consumed0 >", value, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed0 >=", value, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0LessThan(Integer value) {
            addCriterion("rw_consumed0 <", value, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0LessThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed0 <=", value, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0In(List<Integer> values) {
            addCriterion("rw_consumed0 in", values, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0NotIn(List<Integer> values) {
            addCriterion("rw_consumed0 not in", values, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0Between(Integer value1, Integer value2) {
            addCriterion("rw_consumed0 between", value1, value2, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwConsumed0NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_consumed0 not between", value1, value2, "rwConsumed0");
            return (Criteria) this;
        }

        public Criteria andRwName1IsNull() {
            addCriterion("rw_name1 is null");
            return (Criteria) this;
        }

        public Criteria andRwName1IsNotNull() {
            addCriterion("rw_name1 is not null");
            return (Criteria) this;
        }

        public Criteria andRwName1EqualTo(String value) {
            addCriterion("rw_name1 =", value, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1NotEqualTo(String value) {
            addCriterion("rw_name1 <>", value, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1GreaterThan(String value) {
            addCriterion("rw_name1 >", value, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1GreaterThanOrEqualTo(String value) {
            addCriterion("rw_name1 >=", value, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1LessThan(String value) {
            addCriterion("rw_name1 <", value, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1LessThanOrEqualTo(String value) {
            addCriterion("rw_name1 <=", value, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1Like(String value) {
            addCriterion("rw_name1 like", value, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1NotLike(String value) {
            addCriterion("rw_name1 not like", value, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1In(List<String> values) {
            addCriterion("rw_name1 in", values, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1NotIn(List<String> values) {
            addCriterion("rw_name1 not in", values, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1Between(String value1, String value2) {
            addCriterion("rw_name1 between", value1, value2, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwName1NotBetween(String value1, String value2) {
            addCriterion("rw_name1 not between", value1, value2, "rwName1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1IsNull() {
            addCriterion("rw_cnt1 is null");
            return (Criteria) this;
        }

        public Criteria andRwCnt1IsNotNull() {
            addCriterion("rw_cnt1 is not null");
            return (Criteria) this;
        }

        public Criteria andRwCnt1EqualTo(Integer value) {
            addCriterion("rw_cnt1 =", value, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1NotEqualTo(Integer value) {
            addCriterion("rw_cnt1 <>", value, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1GreaterThan(Integer value) {
            addCriterion("rw_cnt1 >", value, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt1 >=", value, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1LessThan(Integer value) {
            addCriterion("rw_cnt1 <", value, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1LessThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt1 <=", value, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1In(List<Integer> values) {
            addCriterion("rw_cnt1 in", values, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1NotIn(List<Integer> values) {
            addCriterion("rw_cnt1 not in", values, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1Between(Integer value1, Integer value2) {
            addCriterion("rw_cnt1 between", value1, value2, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwCnt1NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_cnt1 not between", value1, value2, "rwCnt1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1IsNull() {
            addCriterion("rw_consumed1 is null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1IsNotNull() {
            addCriterion("rw_consumed1 is not null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1EqualTo(Integer value) {
            addCriterion("rw_consumed1 =", value, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1NotEqualTo(Integer value) {
            addCriterion("rw_consumed1 <>", value, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1GreaterThan(Integer value) {
            addCriterion("rw_consumed1 >", value, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed1 >=", value, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1LessThan(Integer value) {
            addCriterion("rw_consumed1 <", value, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1LessThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed1 <=", value, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1In(List<Integer> values) {
            addCriterion("rw_consumed1 in", values, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1NotIn(List<Integer> values) {
            addCriterion("rw_consumed1 not in", values, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1Between(Integer value1, Integer value2) {
            addCriterion("rw_consumed1 between", value1, value2, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwConsumed1NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_consumed1 not between", value1, value2, "rwConsumed1");
            return (Criteria) this;
        }

        public Criteria andRwName2IsNull() {
            addCriterion("rw_name2 is null");
            return (Criteria) this;
        }

        public Criteria andRwName2IsNotNull() {
            addCriterion("rw_name2 is not null");
            return (Criteria) this;
        }

        public Criteria andRwName2EqualTo(String value) {
            addCriterion("rw_name2 =", value, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2NotEqualTo(String value) {
            addCriterion("rw_name2 <>", value, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2GreaterThan(String value) {
            addCriterion("rw_name2 >", value, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2GreaterThanOrEqualTo(String value) {
            addCriterion("rw_name2 >=", value, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2LessThan(String value) {
            addCriterion("rw_name2 <", value, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2LessThanOrEqualTo(String value) {
            addCriterion("rw_name2 <=", value, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2Like(String value) {
            addCriterion("rw_name2 like", value, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2NotLike(String value) {
            addCriterion("rw_name2 not like", value, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2In(List<String> values) {
            addCriterion("rw_name2 in", values, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2NotIn(List<String> values) {
            addCriterion("rw_name2 not in", values, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2Between(String value1, String value2) {
            addCriterion("rw_name2 between", value1, value2, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwName2NotBetween(String value1, String value2) {
            addCriterion("rw_name2 not between", value1, value2, "rwName2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2IsNull() {
            addCriterion("rw_cnt2 is null");
            return (Criteria) this;
        }

        public Criteria andRwCnt2IsNotNull() {
            addCriterion("rw_cnt2 is not null");
            return (Criteria) this;
        }

        public Criteria andRwCnt2EqualTo(Integer value) {
            addCriterion("rw_cnt2 =", value, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2NotEqualTo(Integer value) {
            addCriterion("rw_cnt2 <>", value, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2GreaterThan(Integer value) {
            addCriterion("rw_cnt2 >", value, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt2 >=", value, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2LessThan(Integer value) {
            addCriterion("rw_cnt2 <", value, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2LessThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt2 <=", value, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2In(List<Integer> values) {
            addCriterion("rw_cnt2 in", values, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2NotIn(List<Integer> values) {
            addCriterion("rw_cnt2 not in", values, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2Between(Integer value1, Integer value2) {
            addCriterion("rw_cnt2 between", value1, value2, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwCnt2NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_cnt2 not between", value1, value2, "rwCnt2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2IsNull() {
            addCriterion("rw_consumed2 is null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2IsNotNull() {
            addCriterion("rw_consumed2 is not null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2EqualTo(Integer value) {
            addCriterion("rw_consumed2 =", value, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2NotEqualTo(Integer value) {
            addCriterion("rw_consumed2 <>", value, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2GreaterThan(Integer value) {
            addCriterion("rw_consumed2 >", value, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed2 >=", value, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2LessThan(Integer value) {
            addCriterion("rw_consumed2 <", value, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2LessThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed2 <=", value, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2In(List<Integer> values) {
            addCriterion("rw_consumed2 in", values, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2NotIn(List<Integer> values) {
            addCriterion("rw_consumed2 not in", values, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2Between(Integer value1, Integer value2) {
            addCriterion("rw_consumed2 between", value1, value2, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwConsumed2NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_consumed2 not between", value1, value2, "rwConsumed2");
            return (Criteria) this;
        }

        public Criteria andRwName3IsNull() {
            addCriterion("rw_name3 is null");
            return (Criteria) this;
        }

        public Criteria andRwName3IsNotNull() {
            addCriterion("rw_name3 is not null");
            return (Criteria) this;
        }

        public Criteria andRwName3EqualTo(String value) {
            addCriterion("rw_name3 =", value, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3NotEqualTo(String value) {
            addCriterion("rw_name3 <>", value, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3GreaterThan(String value) {
            addCriterion("rw_name3 >", value, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3GreaterThanOrEqualTo(String value) {
            addCriterion("rw_name3 >=", value, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3LessThan(String value) {
            addCriterion("rw_name3 <", value, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3LessThanOrEqualTo(String value) {
            addCriterion("rw_name3 <=", value, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3Like(String value) {
            addCriterion("rw_name3 like", value, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3NotLike(String value) {
            addCriterion("rw_name3 not like", value, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3In(List<String> values) {
            addCriterion("rw_name3 in", values, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3NotIn(List<String> values) {
            addCriterion("rw_name3 not in", values, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3Between(String value1, String value2) {
            addCriterion("rw_name3 between", value1, value2, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwName3NotBetween(String value1, String value2) {
            addCriterion("rw_name3 not between", value1, value2, "rwName3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3IsNull() {
            addCriterion("rw_cnt3 is null");
            return (Criteria) this;
        }

        public Criteria andRwCnt3IsNotNull() {
            addCriterion("rw_cnt3 is not null");
            return (Criteria) this;
        }

        public Criteria andRwCnt3EqualTo(Integer value) {
            addCriterion("rw_cnt3 =", value, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3NotEqualTo(Integer value) {
            addCriterion("rw_cnt3 <>", value, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3GreaterThan(Integer value) {
            addCriterion("rw_cnt3 >", value, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt3 >=", value, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3LessThan(Integer value) {
            addCriterion("rw_cnt3 <", value, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3LessThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt3 <=", value, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3In(List<Integer> values) {
            addCriterion("rw_cnt3 in", values, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3NotIn(List<Integer> values) {
            addCriterion("rw_cnt3 not in", values, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3Between(Integer value1, Integer value2) {
            addCriterion("rw_cnt3 between", value1, value2, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwCnt3NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_cnt3 not between", value1, value2, "rwCnt3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3IsNull() {
            addCriterion("rw_consumed3 is null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3IsNotNull() {
            addCriterion("rw_consumed3 is not null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3EqualTo(Integer value) {
            addCriterion("rw_consumed3 =", value, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3NotEqualTo(Integer value) {
            addCriterion("rw_consumed3 <>", value, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3GreaterThan(Integer value) {
            addCriterion("rw_consumed3 >", value, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed3 >=", value, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3LessThan(Integer value) {
            addCriterion("rw_consumed3 <", value, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3LessThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed3 <=", value, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3In(List<Integer> values) {
            addCriterion("rw_consumed3 in", values, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3NotIn(List<Integer> values) {
            addCriterion("rw_consumed3 not in", values, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3Between(Integer value1, Integer value2) {
            addCriterion("rw_consumed3 between", value1, value2, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwConsumed3NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_consumed3 not between", value1, value2, "rwConsumed3");
            return (Criteria) this;
        }

        public Criteria andRwName4IsNull() {
            addCriterion("rw_name4 is null");
            return (Criteria) this;
        }

        public Criteria andRwName4IsNotNull() {
            addCriterion("rw_name4 is not null");
            return (Criteria) this;
        }

        public Criteria andRwName4EqualTo(String value) {
            addCriterion("rw_name4 =", value, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4NotEqualTo(String value) {
            addCriterion("rw_name4 <>", value, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4GreaterThan(String value) {
            addCriterion("rw_name4 >", value, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4GreaterThanOrEqualTo(String value) {
            addCriterion("rw_name4 >=", value, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4LessThan(String value) {
            addCriterion("rw_name4 <", value, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4LessThanOrEqualTo(String value) {
            addCriterion("rw_name4 <=", value, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4Like(String value) {
            addCriterion("rw_name4 like", value, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4NotLike(String value) {
            addCriterion("rw_name4 not like", value, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4In(List<String> values) {
            addCriterion("rw_name4 in", values, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4NotIn(List<String> values) {
            addCriterion("rw_name4 not in", values, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4Between(String value1, String value2) {
            addCriterion("rw_name4 between", value1, value2, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwName4NotBetween(String value1, String value2) {
            addCriterion("rw_name4 not between", value1, value2, "rwName4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4IsNull() {
            addCriterion("rw_cnt4 is null");
            return (Criteria) this;
        }

        public Criteria andRwCnt4IsNotNull() {
            addCriterion("rw_cnt4 is not null");
            return (Criteria) this;
        }

        public Criteria andRwCnt4EqualTo(Integer value) {
            addCriterion("rw_cnt4 =", value, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4NotEqualTo(Integer value) {
            addCriterion("rw_cnt4 <>", value, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4GreaterThan(Integer value) {
            addCriterion("rw_cnt4 >", value, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt4 >=", value, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4LessThan(Integer value) {
            addCriterion("rw_cnt4 <", value, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4LessThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt4 <=", value, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4In(List<Integer> values) {
            addCriterion("rw_cnt4 in", values, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4NotIn(List<Integer> values) {
            addCriterion("rw_cnt4 not in", values, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4Between(Integer value1, Integer value2) {
            addCriterion("rw_cnt4 between", value1, value2, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwCnt4NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_cnt4 not between", value1, value2, "rwCnt4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4IsNull() {
            addCriterion("rw_consumed4 is null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4IsNotNull() {
            addCriterion("rw_consumed4 is not null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4EqualTo(Integer value) {
            addCriterion("rw_consumed4 =", value, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4NotEqualTo(Integer value) {
            addCriterion("rw_consumed4 <>", value, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4GreaterThan(Integer value) {
            addCriterion("rw_consumed4 >", value, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed4 >=", value, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4LessThan(Integer value) {
            addCriterion("rw_consumed4 <", value, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4LessThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed4 <=", value, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4In(List<Integer> values) {
            addCriterion("rw_consumed4 in", values, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4NotIn(List<Integer> values) {
            addCriterion("rw_consumed4 not in", values, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4Between(Integer value1, Integer value2) {
            addCriterion("rw_consumed4 between", value1, value2, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwConsumed4NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_consumed4 not between", value1, value2, "rwConsumed4");
            return (Criteria) this;
        }

        public Criteria andRwName5IsNull() {
            addCriterion("rw_name5 is null");
            return (Criteria) this;
        }

        public Criteria andRwName5IsNotNull() {
            addCriterion("rw_name5 is not null");
            return (Criteria) this;
        }

        public Criteria andRwName5EqualTo(String value) {
            addCriterion("rw_name5 =", value, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5NotEqualTo(String value) {
            addCriterion("rw_name5 <>", value, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5GreaterThan(String value) {
            addCriterion("rw_name5 >", value, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5GreaterThanOrEqualTo(String value) {
            addCriterion("rw_name5 >=", value, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5LessThan(String value) {
            addCriterion("rw_name5 <", value, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5LessThanOrEqualTo(String value) {
            addCriterion("rw_name5 <=", value, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5Like(String value) {
            addCriterion("rw_name5 like", value, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5NotLike(String value) {
            addCriterion("rw_name5 not like", value, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5In(List<String> values) {
            addCriterion("rw_name5 in", values, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5NotIn(List<String> values) {
            addCriterion("rw_name5 not in", values, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5Between(String value1, String value2) {
            addCriterion("rw_name5 between", value1, value2, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwName5NotBetween(String value1, String value2) {
            addCriterion("rw_name5 not between", value1, value2, "rwName5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5IsNull() {
            addCriterion("rw_cnt5 is null");
            return (Criteria) this;
        }

        public Criteria andRwCnt5IsNotNull() {
            addCriterion("rw_cnt5 is not null");
            return (Criteria) this;
        }

        public Criteria andRwCnt5EqualTo(Integer value) {
            addCriterion("rw_cnt5 =", value, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5NotEqualTo(Integer value) {
            addCriterion("rw_cnt5 <>", value, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5GreaterThan(Integer value) {
            addCriterion("rw_cnt5 >", value, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt5 >=", value, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5LessThan(Integer value) {
            addCriterion("rw_cnt5 <", value, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5LessThanOrEqualTo(Integer value) {
            addCriterion("rw_cnt5 <=", value, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5In(List<Integer> values) {
            addCriterion("rw_cnt5 in", values, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5NotIn(List<Integer> values) {
            addCriterion("rw_cnt5 not in", values, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5Between(Integer value1, Integer value2) {
            addCriterion("rw_cnt5 between", value1, value2, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwCnt5NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_cnt5 not between", value1, value2, "rwCnt5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5IsNull() {
            addCriterion("rw_consumed5 is null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5IsNotNull() {
            addCriterion("rw_consumed5 is not null");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5EqualTo(Integer value) {
            addCriterion("rw_consumed5 =", value, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5NotEqualTo(Integer value) {
            addCriterion("rw_consumed5 <>", value, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5GreaterThan(Integer value) {
            addCriterion("rw_consumed5 >", value, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5GreaterThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed5 >=", value, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5LessThan(Integer value) {
            addCriterion("rw_consumed5 <", value, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5LessThanOrEqualTo(Integer value) {
            addCriterion("rw_consumed5 <=", value, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5In(List<Integer> values) {
            addCriterion("rw_consumed5 in", values, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5NotIn(List<Integer> values) {
            addCriterion("rw_consumed5 not in", values, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5Between(Integer value1, Integer value2) {
            addCriterion("rw_consumed5 between", value1, value2, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andRwConsumed5NotBetween(Integer value1, Integer value2) {
            addCriterion("rw_consumed5 not between", value1, value2, "rwConsumed5");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}